﻿@{
    ViewBag.Title = "FaceUpload";
    Layout = "~/Areas/Master/Views/Shared/_BlankLayout.cshtml";
}
@section Header{
    <script type="text/javascript">
        $(function () {
            var filePath = '@ViewBag.FilePath';
            if (filePath != '') {
                parent.setImg(filePath);
            }
        })
    </script>
}
<div>
    @using (Html.BeginForm("FaceUploadPost", "MAdmin", FormMethod.Post, new { enctype = "multipart/form-data" }))
    {
        <div>
            <label id="FileName" style="display:block;"></label>
        </div>
        <div>
            <input id="faceImg" name="faceImg" type="file" style="width:150px;" />
            <input type="submit" class="btn green" value="上传" />
        </div>
    }
</div>